package com.blrs.service.enterprise.sharelogdetail.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.blrs.mapper.EnterpriseShareLogDetailMapper;
import com.blrs.domain.EnterpriseShareLogDetail;
import com.blrs.service.enterprise.sharelogdetail.IEnterpriseShareLogDetailService;

/**
 * 客户资源共享日志详情Service业务层处理
 * 
 * @author wang.chao
 * @date 2024-04-22
 */
@Service
public class EnterpriseShareLogDetailServiceImpl implements IEnterpriseShareLogDetailService 
{
    @Autowired
    private EnterpriseShareLogDetailMapper enterpriseShareLogDetailMapper;

    /**
     * 查询客户资源共享日志详情
     * 
     * @param id 客户资源共享日志详情主键
     * @return 客户资源共享日志详情
     */
    @Override
    public EnterpriseShareLogDetail selectEnterpriseShareLogDetailById(String id)
    {
        return enterpriseShareLogDetailMapper.selectEnterpriseShareLogDetailById(id);
    }

    /**
     * 查询客户资源共享日志详情列表
     * 
     * @param enterpriseShareLogDetail 客户资源共享日志详情
     * @return 客户资源共享日志详情
     */
    @Override
    public List<EnterpriseShareLogDetail> selectEnterpriseShareLogDetailList(EnterpriseShareLogDetail enterpriseShareLogDetail)
    {
        return enterpriseShareLogDetailMapper.selectEnterpriseShareLogDetailList(enterpriseShareLogDetail);
    }

    /**
     * 新增客户资源共享日志详情
     * 
     * @param enterpriseShareLogDetail 客户资源共享日志详情
     * @return 结果
     */
    @Override
    public int insertEnterpriseShareLogDetail(EnterpriseShareLogDetail enterpriseShareLogDetail)
    {
        return enterpriseShareLogDetailMapper.insertEnterpriseShareLogDetail(enterpriseShareLogDetail);
    }

    /**
     * 修改客户资源共享日志详情
     * 
     * @param enterpriseShareLogDetail 客户资源共享日志详情
     * @return 结果
     */
    @Override
    public int updateEnterpriseShareLogDetail(EnterpriseShareLogDetail enterpriseShareLogDetail)
    {
        return enterpriseShareLogDetailMapper.updateEnterpriseShareLogDetail(enterpriseShareLogDetail);
    }

    /**
     * 批量删除客户资源共享日志详情
     * 
     * @param ids 需要删除的客户资源共享日志详情主键
     * @return 结果
     */
    @Override
    public int deleteEnterpriseShareLogDetailByIds(String[] ids)
    {
        return enterpriseShareLogDetailMapper.deleteEnterpriseShareLogDetailByIds(ids);
    }

    /**
     * 删除客户资源共享日志详情信息
     * 
     * @param id 客户资源共享日志详情主键
     * @return 结果
     */
    @Override
    public int deleteEnterpriseShareLogDetailById(String id)
    {
        return enterpriseShareLogDetailMapper.deleteEnterpriseShareLogDetailById(id);
    }
}
